package com.example.peibei.ui.adapter;

import android.text.TextUtils;
import android.widget.ImageView;

import androidx.annotation.Nullable;

import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.dingtao.common.bean.HomeCateTwo;
import com.dingtao.common.bean.TuiguangDetail;
import com.example.peibei.R;

import java.util.List;

public class TuiguangDetailAdapter extends BaseQuickAdapter<TuiguangDetail.RecordsDTO, BaseViewHolder> {
    public TuiguangDetailAdapter(@Nullable List<TuiguangDetail.RecordsDTO> data) {
        super(R.layout.item_tuiguang_detail, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, TuiguangDetail.RecordsDTO item) {
        helper.setText(R.id.tv_username, item.getName()).setText(R.id.tv_money_all, item.getOrderPrice() + "").setText(R.id.tv_money, item.getMoney() + "");
    }
}
